#include "client.h"
#include <iostream>
#include <string>

using namespace std;
using namespace tally;

int main(int argc, char* argv[])
{
    string addr = "127.0.0.1";
    short port = 1818;

    if(argc != 3) {
        cout << "参数个数错误，请正确输入 IP 地址和端口号两个参数。" << endl;
        return -1;
    }
    addr = std::string(argv[1]);
    port = atoi(argv[2]);
    
    TallyClient client(addr, port);

    return 0;
}
